package start.doubudouyin.mapper;

import start.doubudouyin.entity.Videocomment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author mmmm
* @description 针对表【videocomment(视频评论表)】的数据库操作Mapper
* @createDate 2025-06-09 14:06:42
* @Entity start.doubudouyin.entity.Videocomment
*/
public interface VideocommentMapper extends BaseMapper<Videocomment> {

    Integer insertComment(Videocomment videocomment);

    List<Videocomment> getComment(String videoId);

    Integer recordComment(String userId,String videoId);
}




